import Layout from '@/layout/index'

export default [
  {
    path: '/accountManage',
    name: 'accountManage',
    component: Layout,
    meta: { title: '财务管理', icon: 'menu-accountManage', menuId: 5, showIndex: 8 },
    children: [
      {
        path: 'accountSetting',
        name: 'accountSetting',
        component: () => import('@/views/accountManage/accountSetting/index'),
        meta: { title: '财务设置', menuId: 50100, showIndex: 1 }
      },
      {
        path: 'cashTransactions',
        name: 'cashTransactions',
        component: () => import('@/views/accountManage/cashTransactions/index'),
        meta: { title: '收款交易流水', menuId: 50101, showIndex: 2 }
      },
      {
        path: 'refundTransactions',
        name: 'refundTransactions',
        component: () => import('@/views/accountManage/refundTransactions/index'),
        meta: { title: '退款交易流水', menuId: 50103, showIndex: 3 }
      },
      {
        path: 'refundHandle',
        name: 'refundHandle',
        component: () => import('@/views/accountManage/refundHandle/index'),
        meta: { title: '退款处理', menuId: 50102, showIndex: 4 }
      },
      {
        path: 'monthlyBill',
        name: 'monthlyBill',
        component: () => import('@/views/accountManage/monthlyBill/index'),
        meta: { title: '月结对账单', menuId: 50105, showIndex: 5 }
      },
      {
        path: 'storeDeposit',
        name: 'storeDeposit',
        component: () => import('@/views/accountManage/storeDeposit/index'),
        meta: { title: '门店缴存', menuId: 50107, showIndex: 6 }
      },
      {
        path: 'dailyStores',
        name: 'dailyStores',
        component: () => import('@/views/accountManage/dailyStores/index'),
        meta: { title: '门店日结', menuId: 50110, showIndex: 7 }
      },
      {
        path: 'dailyCenter',
        name: 'dailyCenter',
        component: () => import('@/views/accountManage/dailyCenter/index'),
        meta: { title: '日结中心', menuId: 50114, showIndex: 8 }
      },
      {
        path: 'rechargeManage',
        name: 'rechargeManage',
        component: () => import('@/views/accountManage/rechargeManage/index'),
        meta: { title: '充值管理', menuId: 50401, showIndex: 9 }
      },
      {
        path: 'rechargeRuleSetting',
        name: 'rechargeRuleSetting',
        component: () => import('@/views/accountManage/rechargeRuleSetting/index'),
        meta: { title: '充值规则设置', menuId: 50403, showIndex: 10 }
      },
      {
        path: 'storedComsumeStatistics',
        name: 'storedComsumeStatistics',
        component: () => import('@/views/accountManage/storedComsumeStatistics/index'),
        meta: { title: '储值消费统计', menuId: 50404, showIndex: 11 }
      },
      {
        path: 'CapitalSubject',
        name: 'CapitalSubject',
        component: () => import('@/views/accountManage/CapitalSubject/index'),
        meta: { title: '资金科目管理', menuId: 50405, showIndex: 12 }
      },
      {
        path: 'beginningSetting',
        name: 'beginningSetting',
        component: () => import('@/views/accountManage/beginningSetting/index'),
        meta: { title: '资金期初设置', menuId: 50406, showIndex: 13 }
      }
    ]
  }
]
